# _*_ coding: utf-8 _*_
# @Time : 2024-01-20 23:07
# @Author : wf

# 安装 pip install scrapy

# 1、scrapy startproject scrapy_01_baidu

# scrapy startproject scrapy_02_dangdang
# scrapy startproject scrapy_03_movie

# /scrapy_01_baidu/scrapy_01_baidu/spiders
# 2、scrapy genspider baidu www.baidu.com

# 58同城 - 前端开发
# scrapy genspider tongcheng bj.58.com/sou/?key=%E5%89%8D%E7%AB%AF%E5%BC%80%E5%8F%91&classpolicy=classify_E%2Cuuid_wSa74y67KmWd2MB4fsrZGGiGnZGiPdKt&search_uuid=wSa74y67KmWd2MB4fsrZGGiGnZGiPdKt&search_type=input

# 汽车之家 - 宝马
# scrapy genspider autohome car.autohome.com.cn/price/brand-15.html

# 当当网 -
# scrapy genspider dangdang category.dangdang.com/cp01.01.02.00.00.00.html

# 电影天堂
# scrapy genspider movie www.dy2018.com/2/

# 百度翻译 - post
# scrapy genspider testpost fanyi.baidu.com/sug


# --------------读书网 crawlSpider
# scrapy genspider -t crawl dushu www.dushu.com/book/1188.html

# 3、运行爬虫代码
# scrapy crawl baidu

# scrapy crawl tongcheng
# scrapy crawl autohome
# scrapy crawl dushu
